package com.ruoyi.wms.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料入库对象 wms_material_income
 * 
 * @author chao
 * @date 2024-07-23
 */
public class WmsMaterialIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料入库ID */
    private Long id;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplier;

    /** 物料ID */
    @Excel(name = "物料ID")
    private Long materialId;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String name;

    /** 规格/型号 */
    @Excel(name = "规格/型号")
    private String model;

    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal signalPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Double num;

    /** 单位 */
    @Excel(name = "单位")
    private String unitName;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal totalPrice;

    /** 是否付款 */
    @Excel(name = "是否付款")
    private Long pay;

    /** 状态 */
    @Excel(name = "状态")
    private String statusInfo;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdate;

    /** 备注 */
    @Excel(name = "备注")
    private String common;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }

    public void setMaterialId(Long materialId) 
    {
        this.materialId = materialId;
    }

    public Long getMaterialId() 
    {
        return materialId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setSignalPrice(BigDecimal signalPrice) 
    {
        this.signalPrice = signalPrice;
    }

    public BigDecimal getSignalPrice() 
    {
        return signalPrice;
    }

    public void setNum(Double num)
    {
        this.num = num;
    }

    public Double getNum()
    {
        return num;
    }

    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }

    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }

    public void setPay(Long pay) 
    {
        this.pay = pay;
    }

    public Long getPay() 
    {
        return pay;
    }

    public void setStatusInfo(String statusInfo) 
    {
        this.statusInfo = statusInfo;
    }

    public String getStatusInfo() 
    {
        return statusInfo;
    }

    public void setCreatedate(Date createdate) 
    {
        this.createdate = createdate;
    }

    public Date getCreatedate() 
    {
        return createdate;
    }

    public void setCommon(String common) 
    {
        this.common = common;
    }

    public String getCommon() 
    {
        return common;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supplier", getSupplier())
            .append("materialId", getMaterialId())
            .append("name", getName())
            .append("model", getModel())
            .append("signalPrice", getSignalPrice())
            .append("num", getNum())
            .append("unitName", getUnitName())
            .append("totalPrice", getTotalPrice())
            .append("pay", getPay())
            .append("statusInfo", getStatusInfo())
            .append("createdate", getCreatedate())
            .append("common", getCommon())
            .toString();
    }
}
